import Vue from 'vue'
import Router from 'vue-router'
import module from './module'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: require('../../package.json').name,
  routes: module
})
